﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ChiTietTinTuc.aspx.cs" Inherits="ChiTietTinTuc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<style type="text/css">
        .row
        {
            margin-bottom: 10px;
        }
        .b
        {
            border: 1px solid #D6DCE8;
            margin: 20px 20px 20px 20px;
        }
        div, p, ul, li
        {
            font-family: Arial, sans-serif;
            font-size: 12px;
        }
        .box-title
        {
            padding: 0 10px;
            font: 9pt Tahoma, Geneva, sans-serif;
            text-transform: uppercase;
            font-weight: bold;
            color: #048;
            height: 24px;
            line-height: 24px;
        }
        .box-title
        {
            height: 24px;
            line-height: 24px;
            background: #EEE;
            padding-top: 0px;
        }
    </style>
			<div class="pro-content">
				<div class="product">
    <div class="cate b row">
        <div class="box-title">
            Tin tức: <%= TieuDe %> 
            <span style="float:right"><%= NgayDang %> </span>
            <div class="clear">
                </div>
        </div>
        <table border="0" cellpadding="0" cellspacing="0" width="98%" align="center">
            <tbody>
                <tr>
                    <td id="ctl00_ContentPlaceHolderBody_tIntordution" class="main">
                        <%= noidung %>
                    </td>
                </tr>
                <tr>
                    <td>
                        <img alt="" border="0" height="10" src="images/pixel_trans.gif" width="100%">
                    </td>
                </tr>
            </tbody>
        </table>
                <div class="box-title">
            Tin tức khác
            <div class="clear">
                </div>
        </div>
                <table border="0" cellpadding="0" cellspacing="0" width="98%" align="center">
            <tbody>
                <tr>
                    <td>
                                    <asp:Repeater ID="repLoaiSanPham" runat="server">
                    <ItemTemplate>
                        <div class="news_title">
                            <a href="<%#LinkHelper.LinkTinTuc(Eval("TinTucId"))%>">
                                <%#Eval("TieuDe") %></a><span style="float: right">
                                    <%#GetNgayTao(Eval("NgayDang"))%></span></div>
                        <div class="news_picture news_picture_f">
                            <div>
                            </div>
                            <a href="<%#LinkHelper.LinkTinTuc(Eval("TinTucId"))%>">
                                <img width="122" height="84" src="<%#GrabImage(Eval("NoiDung").ToString())%>" /></a></div>
                        <div class="news_teaser">
                            <%#GrabNoiDung(Eval("NoiDung").ToString())%></div>
                        <div class="break_module_line">
                        </div>
                    </ItemTemplate>
                </asp:Repeater>

                    </td>
                </tr>
</tbody>
</table>
    </div>

				</div>
				<!--right-->
				 <div class="box">
					<div class="title-box">
					  <h2>Hổ trợ trực tuyến</h2>
					</div>
					<ul>
					  <div class="help-cus">
						<asp:DataList ID="dllOnline" runat="server" Width="226px">
                    <ItemTemplate>
                        
                        <table style="width: 100%">
                            <tr>
                                <td style="width: 100px" align="center">
                                <a href="ymsgr:sendim?<%# Eval("NickName") %>"><img src="http://opi.yahoo.com/online?u=<%# Eval("NickName") %>&m=g&t=2" alt="" style="border:0px; width:80px;" /></a>
                                </td>
                                <td style="width: 100px" align="center">
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("SDT") %>' Style="width:100px;" ForeColor="#000000"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList> 
                        </div>
					</ul>
				  </div>
				   <div class="box-dt">
					<div class="title-box">
					  <h2>Đối tác</h2>
					</div>

                <ul style="margin:30px 0 0 0;padding:0;list-style-type:none">
				<asp:Repeater ID="repDoiTac" runat="server">
                        <ItemTemplate>
                        <li style="text-align:center">
                            <a target="_blank" href="<%#Eval("Link") %>"><img src="<%#LinkHelper.GetLinkHinhAnh(Eval("HinhAnh"))%>" width="170" title="<%#Eval("TenDoiTac") %>" /></a>
                        </li>
                        
                        </ItemTemplate>
                    </asp:Repeater>
                    </ul>
				  </div>
			</div></asp:Content>

